Skip to content

GH-121970: Make DeprecatedRemoved a subclass of VersionChange#121971

Merged
AA-Turner merged 3 commits intopython:mainfrom
AA-Turner:docs/deprecated-removed
Jul 19, 2024
Merged

GH-121970: Make DeprecatedRemoved a subclass of VersionChange#121971
AA-Turner merged 3 commits intopython:mainfrom
AA-Turner:docs/deprecated-removed

Conversation

@AA-Turner
Copy link
Member

@AA-Turner AA-Turner commented Jul 18, 2024

The majority of the code was duplicated. A future improvement would be to add some sort of method to VersionChange for determining the version and labels that we could override in this subclass, rather than the somewhat convoluted method here.

Also allow the .. versionremoved:: directive to be used whilst we still support older versions of Sphinx.

A


📚 Documentation preview 📚: https://cpython-previews--121971.org.readthedocs.build/

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants